package com.example.demo.liteflow;

import com.example.demo.entity.Person;
import com.yomahub.liteflow.core.NodeComponent;
import org.springframework.stereotype.Component;

@Component("b")
public class BCmp extends NodeComponent {

    @Override
    public void process() {
        //do your business
        System.out.println(2);
        Person person = this.getRequestData();
        System.out.println(person.toString());
    }
}

